package com.xkdx.guangguang.fragment.user;

import java.util.HashMap;

import android.util.Log;

import com.xkdx.guangguang.fragment.BaseFragment;
import com.xkdx.guangguang.module.network.AbsModule;
import com.xkdx.guangguang.module.network.HttpTask;
import com.xkdx.guangguang.module.network.JsonHttpRequest;

public class UserLoginPresenter extends HttpTask {

	public UserLoginPresenter(BaseFragment context) {
		this.baseFragment = context;
		this.connectTimeout = 3000;
		this.soTimeOut = 5000;
		mUseCache=false;
		requestInstent = new JsonHttpRequest();
	}

	@Override
	protected void onPostExecute(HashMap<String, AbsModule> result) {

		if (baseFragment != null) {
			baseFragment.showLoaded(result);
		}

	}

}
